/**
 *  新闻通知
 * @author litao
 */
import { baseUrl } from '../url'
import { RequestOptions, request2, request3 } from "../request1";
import { HLWXXZL, HlwFbxx } from "../tables/news"

//信息的类型
export function HlwxxzlQueny(options : RequestOptions<HLWXXZL, HLWXXZL[]>) {
  request3<HLWXXZL, HLWXXZL[]>(Object.assign(options, { data: { ...options.data }, url: baseUrl + "/psdmsqxgl/services/ZfdmManageService/getZfdmByDmzl" }))
}
//新闻列表
export function HlwFbxxQuery(options : RequestOptions<HlwFbxx, HlwFbxx[]>) {
  request2<HlwFbxx, HlwFbxx[]>(Object.assign(options, { data: { ...options.data }, url: baseUrl + "/bspsd/v2/xxgl/HlwFbxxQuery" }))
}